package com.baidu.dtx.coupon.api;

/**
 * @author shilei
 * @create 2021-06-07 16:10
 */

import com.baidu.dtx.coupon.dto.CouponDTO;
import org.dromara.hmily.annotation.Hmily;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("DTX-COUPON3001")
public interface CouponApi {

    @RequestMapping(value = "/coupon/decrease")
    @Hmily
    public String decrease(@RequestBody CouponDTO couponDTO);

}
